<?php

/**
 * solicitud module configuration.
 *
 * @package    BecArTe
 * @subpackage solicitud
 * @author     Your name here
 * @version    SVN: $Id: configuration.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class solicitudGeneratorConfiguration extends BaseSolicitudGeneratorConfiguration
{
    public function getFilterDefaults()
    { 
      $user = sfContext::getInstance()->getUser();
      if($user->hasCredential('atPublico') ) {
        return array(
                 'estado' => 'En Presentación',
                 'alumno' => array(
                              'sede_id' => $user->getSedeId()
                             )
        );
      } else {
        return array();
      }
    }
                    
}
